/* index */

.top {
  padding: 0.2rem 0.4rem 0 0.4rem;
  display: flex;
  /* width: 100%; */
  height: 0.7rem;
  /* box-sizing: border-box; */
  background: #fff;
}

.top .sweep-code {
  margin-right: 0.25rem;
}

.top .sweep-code .iconfont {
  display: block;
  font-size: 0.62rem;
}

.top .search {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 0.64rem;
  font-size: 0.26rem;
  color: rgba(159, 165, 175, 1);
  background: #f6f9fd;
  border-radius: 0.32rem;
  -webkit-border-radius: 0.32rem;
  -moz-border-radius: 0.32rem;
  -ms-border-radius: 0.32rem;
  -o-border-radius: 0.32rem;
}

.top .search .iconfont {
  margin-right: 0.1rem;
  display: block;
  font-size: 0.32rem;
}

.header {
  padding: 0.3rem 0.4rem 0 0.4rem;
  /* width: 7.5rem;
  box-sizing: border-box; */
  background: #ffffff;
}

.header .index-banner {
  width: 6.7rem;
  height: 2.4rem;
}

.header .index-banner .swiper-container {
  width: 6.7rem;
  height: 2.4rem;
}

.header .index-banner img {
  width: 6.7rem;
  height: 2.4rem;
}

.header .index-banner .swiper-pagination-fraction {
  right: 0.15rem;
  bottom: 0.18rem;
  left: auto;
  width: 0.7rem;
  height: 0.37rem;
  line-height: 0.37rem;
  text-align: center;
  font-size: 0.2rem;
  color: #fff;
  background: rgba(36, 36, 36, 0.2);
  border-radius: 0.19rem;
  -webkit-border-radius: 0.19rem;
  -moz-border-radius: 0.19rem;
  -ms-border-radius: 0.19rem;
  -o-border-radius: 0.19rem;
}

.header .index-nav {
  padding: 0.4rem 0.13rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.header .index-nav .nav-li .nav-img {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
}

.header .index-nav .nav-li .title {
  margin-top: 0.15rem;
  line-height: 0.33rem;
  font-size: 0.24rem;
}

/* community */

.community-wrapper {
  position: fixed;
  top: 0.9rem;
  left: 0;
  right: 0;
  bottom: 1.14rem;
  overflow: hidden;
}

.community {
  width: 100%;
  height: max-content;
}

.community-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.9rem;
  background: #fff;
  border-bottom: 0.01rem solid rgba(241,241,241,1);
  overflow: hidden;
  z-index: 5;
}

.community-nav {
  padding-right: 0.4rem;
  display: flex;
  width: max-content;
}

.community-nav .li {
  margin-left: 0.4rem;
  position: relative;
  width: max-content;
  height: 0.9rem;
  line-height: 0.9rem;
  font-size: 0.3rem;
  color: rgba(112, 119, 135, 1);
  box-sizing: border-box;
}

.community-nav .li.current {
  color: rgba(246, 98, 108, 1);
  border-bottom: 0.03rem solid rgba(246, 98, 108, 1);
}

.community-nav .li.current::after {
  position: absolute;
  bottom: -0.03rem;
  left: 0;
  right: 0;
  content: ' ';
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 0.06rem solid transparent;
  border-right: 0.06rem solid transparent;
  border-bottom: 0.1rem solid rgba(246, 98, 108, 1);
}

.goodsword {
  padding: 0.4rem 0 0.5rem 0;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.goodsword .goodsword-title {
  margin-left: 0.4rem;
  position: relative;
  width: max-content;
  height: 0.42rem;
  line-height: 0.42rem;
  font-size: 0.3rem;
  color: rgba(34, 36, 33, 1);
}

.goodsword .goodsword-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: ' ';
  width: 100%;
  height: 0.17rem;
  background: rgba(255, 224, 226, 1);
  z-index: -1;
}

.goodsword-list-wrapper {
  width: 100%;
  height: max-content;
  overflow: hidden;
}

.goodsword-list {
  padding: 0.2rem 0.4rem 0 0.4rem;
  display: flex;
  width: max-content;
  height: max-content;
}

.goodsword-list .li {
  margin-right: 0.2rem;
  padding: 0.2rem 0.32rem 0.3rem 0.2rem;
  width: 6.2rem;
  height: 2.6rem;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 0.04rem 0.2rem 0 rgba(231, 239, 255, 0.5);
  border-radius: 0.16rem;
  -webkit-border-radius: 0.16rem;
  -moz-border-radius: 0.16rem;
  -ms-border-radius: 0.16rem;
  -o-border-radius: 0.16rem;
}

.goodsword-list .li:last-child {
  margin-right: 0;
}

.goodsword-list .li .author {
  display: flex;
  align-items: center;
  height: 0.48rem;
  font-size: 0.24rem;
  font-weight: 500;
  color: rgba(135, 142, 155, 1);
}

.goodsword-list .li .author .avatar {
  margin-right: 0.12rem;
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(251, 194, 101, 1);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.goodsword-list .li .content {
  padding-top: 0.2rem;
  display: flex;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.goodsword-list .li .content .qt-icon {
  padding: 0 0.12rem 0 0.16rem;
  width: max-content;
  height: auto;
}

.goodsword-list .li .content .qt-icon .iconfont {
  font-size: 0.14rem;
  color: rgba(16, 29, 55, 1);
}

.goodsword-list .li .content .intro {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.goodsword-list .li .content .intro p {
  height: 0.99rem;
  line-height: 0.33rem;
  font-size: 0.24rem;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.goodsword-list .li .content .intro .more {
  padding-top: 0.1rem;
  align-self: flex-end;
  text-align: right;
  font-size: 0.24rem;
  color: rgba(97, 142, 255, 1);
}

.community-list {
  height: max-content;
  background: #fff;
}

.community-list .community-li {
  padding-top: 0.57rem;
  height: max-content;
  width: 100%;
}

.community-list .community-li .user-header {
  padding: 0 0.4rem;
  display: flex;
  align-items: center;
}

.community-li .user-header .avatar {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
}

.community-li .user-header .avatar > img {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  background: #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.community-li .user-header .avatar .vip {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.3rem;
  height: 0.3rem;
  line-height: 0.3rem;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(235, 82, 91, 1) 0%,
    rgba(236, 130, 77, 1) 100%
  );
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.community-li .user-header .avatar .vip .iconfont {
  font-size: 0.17rem;
  color: #fff;
}

.community-li .user-header .intro {
  padding: 0 0.1rem;
  flex: 1;
}

.community-li .user-header .intro .user-name {
  height: 0.36rem;
  line-height: 0.36rem;
  font-size: 0.28rem;
  color: rgba(0, 0, 0, 1);
}

.community-li .user-header .intro .desc {
  height: 0.3rem;
  line-height: 0.3rem;
  font-size: 0;
  color: rgba(159, 165, 175, 1);
  
}

.community-li .user-header .intro .desc span {
  margin-right: 0.1rem;
  display: inline-block;
  font-size: 0.22rem;
}

.community-li .user-header .follow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.27rem;
  height: 0.56rem;
  font-size: 0.28rem;
  color: rgba(246, 98, 108, 1);
  background: rgba(255, 255, 255, 1);
  border-radius: 0.3rem;
  border: 0.02rem solid rgba(246, 98, 108, 1);
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
}

.community-li .user-header .follow .iconfont {
  padding-right: 0.05rem;
  font-size: 0.28rem;
}

.community-li .community-title {
  padding: 0.2rem 0.4rem 0.14rem 0.4rem;
  height: 0.45rem;
  line-height: 0.45rem;
  font-size: 0.32rem;
  font-weight: 600;
}

.community-li .community-text {
  padding: 0 0.4rem;
  margin-bottom: 0.24rem;
  height: 0.8rem;
  line-height: 0.4rem;
  font-size: 0.26rem;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.community-li .book-list-wrapper {
  padding-bottom: 0.1rem;
  width: 100%;
  height: max-content;
}

.community-li .book-list {
  padding: 0 0.4rem;
  display: flex;
  flex-wrap: nowrap;
}

.community-li .book-list .book-li {
  margin-right: 0.2rem;
  width: 2.1rem;
  height: max-content;
}

.community-li .book-li .cover {
  position: relative;
  width: 2.1rem;
  height: 2.95rem;
}

.community-li .book-li .cover > img {
  width: 2.1rem;
  height: 2.94rem;
  border-radius: 0.01rem;
  -webkit-border-radius: 0.01rem;
  -moz-border-radius: 0.01rem;
  -ms-border-radius: 0.01rem;
  -o-border-radius: 0.01rem;
}

.community-li .book-li .cover::before {
  position: absolute;
  top: 0;
  left: 0.1rem;
  content: ' ';
  width: 0.06rem;
  height: 2.94rem;
  background: rgba(0, 0, 0, 0.1);
}

.community-li .book-li .cover .count {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 0.1rem;
  width: max-content;
  height: 0.4rem;
  line-height: 0.4rem;
  font-size: 0.24rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  background: rgba(246, 98, 108, 1);
  border-radius: 0.01rem 0.01rem 0.01rem 0.08rem;
  -webkit-border-radius: 0.01rem 0.01rem 0.01rem 0.08rem;
  -moz-border-radius: 0.01rem 0.01rem 0.01rem 0.08rem;
  -ms-border-radius: 0.01rem 0.01rem 0.01rem 0.08rem;
  -o-border-radius: 0.01rem 0.01rem 0.01rem 0.08rem;
}

.community-li .book-li .star-cont {
  margin-top: 0.2rem;
  display: flex;
}

.community-li .book-li .star-cont .star {
  margin-right: 0.06rem;
  width: 0.3rem;
  height: 0.3rem;
  color: #e7e8eb;
}

.community-li .book-li .star-cont .star.active {
  color: #f6626c;
}

.community-li .book-li .star-cont .star .iconfont {
  font-size: 0.26rem;
}

.community-li .multi-graph {
  padding: 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: max-content;
  box-sizing: border-box;
}

.community-li .multi-graph .img-cont {
  margin: 0 0.2rem 0.2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  overflow: hidden;
}

.community-li .multi-graph .img-cont:nth-child(3) {
  margin: 0 0 0.2rem 0;
}

.community-li .multi-graph .img {
  display: block;
  width: 2.1rem;
}

.community-li .multi-graph.img1 .img-cont {
  width: 3.8rem;
  height: 3.8rem;
}

.community-li .multi-graph.img1 .img {
  width: 3.8rem;
}

.community-li .space-line {
  padding-top: 0.3rem;
  margin: 0 auto;
  width: 6.7rem;
  border-bottom: 0.01rem solid rgba(241, 241, 241, 1);
}

.community-li:last-child .space-line {
  border-bottom: none;
}
